// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import api, { instance } from './api/api'
import 'babel-polyfill'
import store from './vuex/index'
import VueQuillEditor from 'vue-quill-editor'
Vue.config.productionTip = false
import 'normalize.css'
/* eslint-disable no-new */
import JsEncrypt from 'jsencrypt/bin/jsencrypt'
Vue.prototype.$jsEncrypt = JsEncrypt
import Axios from 'axios'


Vue.prototype.$http = Axios

Vue.use(ElementUI)
Vue.use(VueQuillEditor, {
  'toolbar': [{
    'font': [true, '宋体']
  }]
})
new Vue({
  el: '#app',
  store,
  router,
  template: '<App/>',
  components: { App }
})
